.link {
  display: block;
  text-decoration: none;
  color: var(--mantine-color-text);
  line-height: 1.2;
  font-size: var(--mantine-font-size-sm);
  padding: var(--mantine-spacing-xs);
  border-top-right-radius: var(--mantine-radius-sm);
  border-bottom-right-radius: var(--mantine-radius-sm);
  border-left: 1px solid light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-4));

  @mixin hover {
    background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-6));
  }
}

.linkActive {
  font-weight: 500;
  border-left-color: light-dark(var(--mantine-color-blue-6), var(--mantine-color-blue-4));
  color: light-dark(var(--mantine-color-blue-6), var(--mantine-color-blue-4));

  &,
  &:hover {
    background-color: var(--mantine-color-blue-light) !important;
  }
}
